const getters = {

  // introduction: state => state.user.introduction,
  // status: state => state.user.status,
  // setting: state => state.user.setting,
  // 路由组
  permission_routers: state => state.permission.routers,
  // 左部菜单
  sidebar: state => state.app.sidebar,
  addRouters: state => state.permission.addRouters,
  // 2018-04-29 user
  login_token: state => state.user.token,
  login_mobile: state => state.user.mobile,
  avatar: state => state.user.avatar,
  username: state => state.user.username,
  roles: state => state.user.roles,
  login_id: state => state.user.login_id,
  // 开放可见的路由
  api_routes: state => state.permission.api_routes,
  // 营业点
  user_outlet: state => state.permission.user_outlet,
  // 当前选择的营业点
  current_outlet: state => state.permission.current_outlet,
  outlet_id: state => state.permission.outlet_id,
  // 商品编辑单个信息
  goods_info: state => state.pageView.goods_info,

  // 获取对应的站点信息
  outlet_info: state => state.pageView.outlet_info,

  // 保存页面数(跳转使用)
  set_page_params: state => state.pageView.setPageParams,

  // 编辑单个角色信息
  roles_info: state => state.pageView.roles_info

}
export default getters
